#include <stdio.h>
#include "vector.h"

int main()
{
	vector_t v = vector_create(sizeof(int),64);
	int i;
	for(i = 0; i < 64; ++i)
		VECTOR_SET(int,v,i,i);

	vector_reserve(v,32);
	VECTOR_PUSH_BACK(int,v,33);
	VECTOR_PUSH_BACK(int,v,34);
		
		//VECTOR_PUSH_BACK(int,v,i);

	

	
	

	//struct vector *other = vector_copy_create(v);
	//vector_copy(other,v);
	//printf("h");

	int *a = VECTOR_TO_ARRAY(int,v);
	for(i = 0; i < vector_size(v); ++i)
		printf("%d\n",a[i]);

	printf("capability :%d\n",vector_capability(v));
	return 0;

}